/*** 
 * @Author: Colin Dai
 * @Date: 2022-05-10 19:57:19
 * @LastEditors: Colin Dai
 * @LastEditTime: 2022-05-10 20:14:43
 * @FilePath: /jy-uos/src/softbus/communication/udp/include/udp_discovery_info.h
 * @Description: 
 * @dailianzheng@163.com
 * @Copyright (c) 2022 by Colin.Dai, All Rights Reserved. 
 */
#ifndef _UDP_DISCOVERY_INFO_H_
#define _UDP_DISCOVERY_INFO_H_

#ifdef  _cplusplus
extern "C" {
#endif

#include "discovery_service.h"


/**
 * @brief 设备发现消息结构
 *
 */
typedef struct DiscoveryInfo {   
    /** 当前SDK的版本 */
    unsigned char sdk_version;   
    
    /** 设备ID,目前最多组网65535个设备 */
    unsigned short deviceId;
    /** 设备类型 */
    DeviceType deviceType;

    /** 发现设备IP **/
    unsigned int ip;
} DiscoveryInfo;

#ifdef __cplusplus
}
#endif

#endif